package com.wpam.scrabble.mobile.messages;

import java.util.ArrayList;

import com.wpam.scrabble.mobile.ScoreBoard;

public class StartMessage extends Message {

	private static final long serialVersionUID = 1L;

	private ScoreBoard scoreBoard_;
	private String userLetters_;
	
	public StartMessage(ScoreBoard scoreBoard, String userLetters) {
		
		super(Message.START);
		this.scoreBoard_ = scoreBoard;
		this.userLetters_ = userLetters;
	}

	public StartMessage(ArrayList<String> playerNames, String userLetters) {
		
		super(Message.START);
		this.scoreBoard_ = new ScoreBoard(playerNames);
		this.userLetters_ = userLetters;
	}
	
	public ArrayList<String> getPlayerNames() {
		return scoreBoard_.getPlayerNames();
	}

	public ScoreBoard getScoreBoard() {
		return scoreBoard_;
	}

	public String getUserLetters() {
		return userLetters_;
	}

}
